<div class="modal-header">
    <h3 class="modal-title">{{model.title}}</h3>
    <i class="fa fa-close fa-2x" ng-click="cancel()"></i>
</div>
<div class="modal-body">
    <div class="meta-input-section" ng-show="model.isArea">
        <span class="meta-input-section-title">标题: </span>
        <div class="meta-input-section-control">
            <div class="meta-text">
                <input class="form-control" type="text" ng-model="data.name" />
            </div>
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="meta-input-section" ng-hide="model.isArea">
        <span class="meta-input-section-title">标题: </span>
        <div class="meta-input-section-control">
            <div class="meta-text">
                <input class="form-control" type="text" ng-model="data.title" />
            </div>
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="meta-input-section">
        <span class="meta-input-section-title">内容: </span>
        <div class="meta-input-section-control">
            <div class="meta-rich">
                <textarea class="form-control fr-view" ng-model="data.content" froala="CONFIG.froalaOptions"></textarea>
            </div>
        </div>
    </div>
    <div class="meta-input-section" ng-hide="model.isArea">
        <span class="meta-input-section-title">文件: </span>
        <div class="meta-input-section-control">
            <div class="meta-rich">
                <span style="line-height:33px;">{{data.attachments[0].name==null?'暂无':data.attachments[0].name}}</span>
                <meta-single-qnuploader uploader-config="CONFIG.qnuploader" uploader-data="data.attachments[0]"></meta-single-qnuploader>
            </div>
        </div>
        <div class="clear-float"></div>
    </div>
</div>
<div class="modal-footer">
    <div class="meta-small-double-buttons">
        <button class="btn btn-success" ng-click="positive()">{{model.positive}}</button>
        <button class="btn btn-warning" ng-click="negative()" style="margin-bottom: 5px;">{{model.negative}}</button>
    </div>
</div>
